package com.todo.sight.application.iface.frontend.response;

import com.todo.common.common.enums.CityTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author azhebuxing
 * @date 2024/5/8 18:27
 * @description
 */
@Data
@Schema(title = "城市信息出参", description = "城市信息出参")
public class CityInfoVO {

    @Schema(name = "主键id", description = "主键id")
    private Long cityId;

    @Schema(name = "名称", description = "名称")
    private String name;

    @Schema(name = "类型：省、市、区等", description = "类型：省、市、区等")
    private String typeName;
    /**
     * 类型Code参考：
     * {@link CityTypeEnum}
     */
    @Schema(name = "类型Code参", description = "类型Code参")
    private String typeCode;

    @Schema(name = "父id", description = "父id")
    private Long parentId;

    @Schema(name = "别名", description = "别名")
    private String otherName;

    @Schema(name = "主图", description = "主图")
    private String mainImg;

    @Schema(name = "经度", description = "经度")
    private BigDecimal lon;

    @Schema(name = "纬度", description = "纬度")
    private BigDecimal lat;

}
